package com.cw.mapper;

import com.cw.entity.Provider;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author cw
 * @since 2021/7/14 23:45
 * @deprecated
 */
@Component
public interface ProviderMapper {

    List<Provider> getProviderList(@Param("proName") String proName, @Param("proCode") String proCode);

    Provider getProviderById(@Param("id") int id);

    int modifyProviderById(@Param("provider") Provider provider);

    int deleteProviderById(@Param("id") int id);

    int addProvider(Provider provider);

}

